<%@ Page Language="C#" MasterPageFile="../main/ManagerMasterPage.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="manager_main_login" Title="Log in" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentBody" Runat="Server">
<asp:Panel ID="panel_login" runat="server">
    
    <table>
    <tr><td colspan=3 align=center style="font-size:20px">Log in</td></tr>
    <tr>
        <td width="50" style="height: 28px"></td>
        <td width="100" style="height: 28px">
            <asp:Label ID= "label_username" runat="server" Text="User Name:"></asp:Label>
        </td>
        <td width="200" style="height: 28px">
            <asp:TextBox ID="text_username" runat="server" ></asp:TextBox>            
        </td>
        <td width="200"><asp:RequiredFieldValidator ID="require_username" runat="server" ErrorMessage="Enter your username !!!" ControlToValidate="text_username"></asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td></td>
        <td>
            <asp:Label ID= "label_password" runat="server" Text="Password:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="text_password" runat="server" TextMode="Password"></asp:TextBox>            
        </td>
        <td>
            <asp:RequiredFieldValidator ID="require_password" runat="server" ErrorMessage="Enter your password !!!" ControlToValidate="text_password"></asp:RequiredFieldValidator>&nbsp;
        </td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td>
            <asp:Button ID="button_login" runat="server" Text="Log in" OnClick="do_login"/>
        </td>
    </tr>
    <tr>
        <td colspan ="3">
            <asp:Label ID="label_error" runat="server" Text="" CssClass="errmsg" Visible="false" ></asp:Label>
        </td>
    </tr>
    </table>
</asp:Panel>
</asp:Content>

